<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let a = {
        name: "ifredomvip",
        age: 20,
      };
      function changeName(o) {
        o.name = "changeName";
        o = {
          name: "x",
          age: 66,
        };
        return o;
      }

      let b = changeName(a);
      console.log(a);
      console.log(b);

      const buf = new ArrayBuffer(32);
      const dataView = new DataView(buf);
      const r = dataView.getUint8(0); // 0
      console.log(r);
    </script>
  </body>
</html>
